package com.woniuxy.user.dao;

import com.woniuxy.commons.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface UserDao {
    List<User> findAll();

    void deleteOne(int id);

    User findByRecord(int id);

    void deleteSome(int[] id);

    User findByName(String name);

    int findStatus(int id);

    void updateStatus(User user);

    List<User> findByCondition(User user);

    User findByAddress(int id);

}
